This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: Ghost Rule? ~Umberto Nongeroson 2.Dec.03 09:36 PM a Web browser Notes Client 6.0.2 CF2Windows 2000
This is a bit more thorough than just removing the calendar profile however it will remove ALL rules...
Dim ThisDb As NotesDatabase
Dim Sess As New NotesSession
Dim CurDoc As NotesDocument
Dim DocColl As NotesDocumentCollection
Dim Profile As NotesDocument
Set ThisDb = Sess.CurrentDatabase
Set profile= ThisDb.GetProfileDocument("CalendarProfile")
profile.RemoveItem("$FilterFormula_0")
profile.RemoveItem("$FilterFormulaCount")
profile.save True,True
Set DocColl = ThisDB.AllDocuments
Set CurDoc = DocColl.GetFirstDocument
Do Until CurDoc Is Nothing
If CurDoc.IsProfile Then
Stop
End If
Set CurDoc = DocColl.GetNextDocument(CurDoc)
Loop